Instrument Code Task
Task dedicated to executing the code instrumentation using the Ant tasks provided with the currently used IntelliJ Platform dependency.
The code instrumentation scans the compiled Java and Kotlin classes for JetBrains Annotations usages to replace them with relevant functionalities they're responsible for.
This task is controlled with the IntelliJPlatformExtension.instrumentCode extension property, enabled by default. To properly run the instrumentation, it is required to add IntelliJPlatformDependenciesExtension.instrumentationTools dependencies to the project.
This dependency is available via the IntelliJPlatformRepositoriesExtension.intellijDependencies repository, which can be added separately or using the IntelliJPlatformRepositoriesExtension.defaultRepositories helper.
Properties
The list of directories with compiled classes.
Enables INFO logging when running Ant tasks.
Java Compiler configuration.
The output directory for instrumented classes.
Location of the source code.
Compile classpath of the project's source set.